package com.ssm.auth.application.convert;

import com.ssm.auth.application.dto.AuthPermissionDTO;
import com.ssm.auth.application.dto.AuthRolePermissionDTO;
import com.ssm.auth.domain.bo.AuthPermissionBO;
import com.ssm.auth.domain.bo.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRolePermissionDtoConvert {
    AuthRolePermissionDtoConvert INSTANCE = Mappers.getMapper(AuthRolePermissionDtoConvert.class);

    //Dto 转 Bo
    AuthRolePermissionBO AuthRolePermissionDtoToBo(AuthRolePermissionDTO authRolePermissionDTO);
}
